<?php
/*
# ------------------------------------------------------------------------
# JA Job Board Package
# ------------------------------------------------------------------------
# Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.
# @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
# Author: JoomlArt.com
# Websites: http://www.joomlart.com - http://www.joomlancers.com.
# ------------------------------------------------------------------------
*/

  defined('_JEXEC') or die('Retricted Access');
  JHTML::_('behavior.tooltip');
 ?>
<?php  global $mainframe;?>
<style type="text/css">
	td.key{
		font-weight:normal !important;
		text-align:left !important;
	}
	td.master{
		font-weight:bold !important;
	}
</style>
<form action="index.php" method="post" name="adminForm">
<div class="col100">
	<fieldset class="adminform">
		<?php echo $this->getTabs();?>
	</fieldset>	
	<fieldset class="adminform">
		
		<table class="admintable" width="100%">
		<tbody>			
			<tr>
				<td width="30%" class="key">
					<label for="subscription_fee_enabled0" class="editlinktip hasTip" title="<?php echo JText::_("Job-seeker's accounts TOOLTIP") ; ?>"><?php echo JText::_( "Job-seeker's accounts need to be Approved?" ); ?></label>
				</td>
				<td width="70%">
					<?php $ca_needs_approved = $this->params->get('ca_needs_approved')?1:0;?>
					<?php echo JHTML::_('select.booleanlist', 'account[ca_needs_approved]', '', $ca_needs_approved);?>
				</td>
			</tr>
			<tr>
				<td class="key ">
					<label for="em_needs_approved" class="editlinktip hasTip" title="<?php echo JText::_("Employer's accounts TOOLTIP") ; ?>"><?php echo JText::_( "Employer's accounts need to be Approved?" ); ?></label>
				</td>
				<td width="70%">
					<?php $em_needs_approved = $this->params->get('em_needs_approved')?1:0;?>
					<?php echo JHTML::_('select.booleanlist', 'account[em_needs_approved]', '', $em_needs_approved);?>
				</td>
				<!--<td>
					<input type="radio" <?php if($this->params->get('em_needs_approved')=="MANUAL") echo "checked";?> value="MANUAL" name="account[em_needs_approved]" id="em_needs_approved"/>
					<?php echo JText::_( 'EMPLOYER Manual' ); ?>
					<br/>
					<input type="radio" <?php if($this->params->get('em_needs_approved')=="NO_RESUME") echo "checked";?> value="NO_RESUME" name="account[em_needs_approved]"/>
					<?php echo JText::_( 'EMPLOYER NO RESUME' ); ?>
					<br/>
					<input type="radio" <?php if($this->params->get('em_needs_approved')=="FIRST_POST") echo "checked";?> value="FIRST_POST" name="account[em_needs_approved]"/>
					<?php echo JText::_( 'EMPLOYER NO' ); ?>
					<br/>
					<input type="radio" <?php if($this->params->get('em_needs_approved')=="AUTO" || !$this->params->get('em_needs_approved')) echo "checked";?> value="AUTO" name="account[em_needs_approved]"/>
					<?php echo JText::_( 'EMPLOYER NO ALL' ); ?>
					<br/>
				</td>-->
			</tr>
			
			<!--<tr>
				<td class="key">
					<label for="free_post_limit"><?php echo JText::_( 'LIMIT POST STANDARD FREE' ); ?></label>:
				</td>
				<td>
					<input type="radio" <?php if($this->params->get('em_needs_approved')) echo "checked";?> value="1" name="account[free_post_limit]" id="free_post_limit"/>
					<?php echo JText::_( 'Yes, with a maximum of' ); ?>
					<input type="text" value="10" size="3" name="account[free_post_limit_max]"/>
					<?php echo JText::_( 'posts. (Works only if billing is disabled for standard posts)' ); ?>					
					<br/>
					<input type="radio" <?php if(!$this->params->get('free_post_limit')) echo "checked";?> value="0" name="account[free_post_limit]"/>
					<?php echo JText::_( 'No, unlimited' ); ?>
				</td>
			</tr>-->
			<tr>
				<td class="key">
					<label for="begin_standard_posts" class="editlinktip hasTip" title="<?php echo JText::_("How many Standard jobs TOOLTIP") ; ?>"><?php echo JText::_('How many Standard jobs can new employer post for free?'); ?></label>
				</td>
				<td>
					<input type="text" name="account[begin_standard_posts]" value="<?php echo $this->params->get('begin_standard_posts');?>" id="begin_standard_posts"  size="3"><br />
					<small><?php echo JText::_( 'Enter a number, eg. 5' ); ?> </small>
				</td>
			</tr>
			<tr>
				<td class="key">
					<label for="begin_premium_posts" class="editlinktip hasTip" title="<?php echo JText::_("How many Premium jobs TOOLTIP") ; ?>"><?php echo JText::_('How many Premium jobs can new employer post for free?'); ?></label>
				</td>
				<td>
					<input type="text" value="<?php echo $this->params->get('begin_premium_posts');?>" size="3" name="account[begin_premium_posts]" id="begin_premium_posts"/><br />
					<small><?php echo JText::_( 'Enter a number, eg. 5' ); ?></small>
				</td>
			</tr>
			
			
			
			<tr>
				<td class="key">
					<label for="begin_credit_posts" class="editlinktip hasTip" title="<?php echo JText::_("How many credit bonus TOOLTIP") ; ?>"><?php echo JText::_('How many credit bonus will be given to new employers upon registration?'); ?></label>
				</td>
				<td>
					<input type="text" name="account[begin_credit_posts]" value="<?php echo $this->params->get('begin_credit_posts');?>" id="begin_credit_posts"  size="3"><br />
					<small><?php echo JText::_( 'Enter a number, eg. 5' ); ?> </small>
				</td>
			</tr>
			
			<!--<tr>
				<td class="key">
					<label for="sub_units"><?php echo JText::_( "Allow the Admin to login to employer's and user's accounts using the admin password?" ); ?>:</label>					
				</td>
				<td>
					<?php $allow_admin_login = $this->params->get('allow_admin_login')?1:0;?>
					<?php echo JHTML::_('select.booleanlist', 'account[allow_admin_login]', '', $allow_admin_login);?>
				</td>
			</tr>		-->	
		</tbody>
		</table>
	</fieldset>
</div>
<div class="clr"></div>
<input type="hidden" name="option" value="<?php echo JBCOMNAME; ?>" />
<input type="hidden" name="view" value="jaconfiguration" />
<input type="hidden" name="task" value="" />
<input type="hidden" name="tab" value="<?php echo $this->tab; ?>" />
<input type="hidden" name="cid" value="<?php echo $this->cid; ?>" />
<?php echo JHTML::_( 'form.token' ); ?>	
 </form>